//
//  ICMLevelView.h
//  ICrEAM
//
//  Created by xphone on 16/11/29.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICMTitleTextFeildView.h"

@protocol ICMLevelViewDelegate;

@interface ICMLevelView : UIView 

@property (nonatomic, strong) UILabel *titlelabel;                             //标题

@property (nonatomic, strong) ICMTitleTextFeildView *nameTextField;            //账号

@property (nonatomic, strong) ICMTitleTextFeildView *psTextField;              //密码

@property (nonatomic, strong) UIButton *commitBtn;                             //确定

@property (nonatomic, strong) UIButton *cancelBtn;                             //取消

@property (nonatomic, weak) id<ICMLevelViewDelegate> delegate;

@property (nonatomic, strong) TPKeyboardAvoidingScrollView *bigScrollView;

@property (nonatomic, assign) BOOL isBalance;                                  //是否结算

@end

@protocol ICMLevelViewDelegate <NSObject>

@optional
- (void)levelCommitWithName:(NSString *)name WithPs:(NSString *)ps;
- (void)levelCancel;


@end
